Skip to content

Comments

Docker Healthcheck uses a non-executable script (health_check.sh)#417

Merged
larryrider merged 1 commit intointernxt:mainfrom
fabiocastagnino:main
Nov 17, 2025
Merged

Docker Healthcheck uses a non-executable script (health_check.sh)#417
larryrider merged 1 commit intointernxt:mainfrom
fabiocastagnino:main

Conversation

@fabiocastagnino
Copy link
Contributor

The Docker image defines the following healthcheck:

HEALTHCHECK --interval=60s --timeout=20s --start-period=30s --retries=3 CMD /app/docker/health_check.sh

However, inside the container the script is not executable:

/app/docker # ls -la
-rw-r--r--  root  root  634  health_check.sh   ← not executable

As a result, the healthcheck fails with:

/bin/sh: /app/docker/health_check.sh: Permission denied

The image should set the correct permissions, for example:

RUN chmod +x /app/docker/health_check.sh

#416 (comment)

@larryrider larryrider merged commit 16cc1a4 into internxt:main Nov 17, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants